// import React ,{useState}from 'react';
// import ReactDOM from 'react-dom/client';
// import TodoList from './components/TodoList/TodoList'

// ReactDOM

//   .createRoot(document.getElementById('root'))
//   .render(

//     <>
//     <TodoList></TodoList>
//     </>
//     );
import React from "react";
import ReactDOM from "react-dom/client";
// import {createRoot} from 'react-dom/client'
import TodoList from "./view/todolist";
import "./index.css";

// ReactDOM.render(
//   <React.StrictMode>
//     <TodoList></TodoList>
    
//   </React.StrictMode>,
//   document.getElementById("root")
// );
ReactDOM
  .createRoot(document.getElementById('root'))
  .render(
    
    <TodoList></TodoList>
    
    );
